﻿<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
    <meta name="keywords" content="<?php echo $SystemSettings['setsys11']; ?>"/>
    <meta name="description" content="<?php echo $SystemSettings['setsys12']; ?>"/>
  <title><?php echo $SystemSettings['setsys1']; ?></title>
  <!--使用最新浏览器内核进行渲染-->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!--默认浏览器使用极速模式选软-->
  <meta name="renderer" content="webkit">
  <!--不允许缩放-->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
  <!-- Bootstrap -->
  <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/common.css">
  <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/everything.css">
  <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/animate.min.css"/>
  <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/response.css"/>
  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 8]>
  <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
  <![endif]-->
  <!--[if lt IE 9]>
  <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
  <![endif]-->
</head>
<body style="background-color: #dcece2;">
<!--导航-->
  <nav class="navbar navbar-fixed-top">
  <!--遮罩层-->
  <div class="wrap"></div>
  <div class="container">
    <!--导航条头部，logo+折叠展开按钮-->
    <div class="navbar-header">
      <a class="navbar-brand hidden-xs  logo " href="index.html">
        <img class=" img-responsive" src="<?php echo TPLPATH; ?>images/logo.png" alt="黔韵原山"/>
      </a>
      <a class="navbar-brand visible-xs text-center" href="index.html">黔韵原山</a>
      <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar" style="background: #bf0ee5"></span>
        <span class="icon-bar" style="background: #bf0ee5"></span>
        <span class="icon-bar" style="background: #bf0ee5"></span>
      </button>
    </div>
    <!--折叠菜单-->
      <!--遮罩层2-->
      <div class="wrap2 hidden" ></div>
      <div class="collapse navbar-collapse" role="navigation">
      <ul class="nav navbar-nav hidden-sm pull-right">
        <li><a href="/qy/company.html">公司介绍</a></li>
        <li><a href="/qyzh-index.html">香海基地</a></li>
        <li><a href="/ysxc-index.html">原山香草</a></li>
        <li><a href="/ysny-index.html">原山农业</a></li>
        <li><a href="/ysys-index.html">原山养生</a></li>
        <li><a href="/ysdc-index.html">养生地产</a></li>
        <li><a href="#">原山商城</a></li>
        <li><a href="#">会员中心</a></li>
      </ul>
      <ul class="nav navbar-nav visible-sm">
        <li><a href="/qyzh-index.html">香海基地</a></li>
        <li><a href="/ysxc-index.html">原山香草</a></li>
        <li><a href="/ysny-index.html">原山农业</a></li>
        <li>
          <a class="dropdown" data-toggle="dropdown">更多<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="/ysys-index.html">原山养生</a></li>
            <li><a href="/ysdc-index.html" target="_blank">养生地产</a></li>
            <li><a href="#">原山商城</a></li>
            <li><a href="#">会员中心</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  </nav>
  <!--banner轮播-->
  <div class="banner">
    <div id="carousel" class="carousel slide" data-ride="carousel">
      <ol class="carousel-indicators">
          <?php $linksid = getlinksdata(72) ?>
          <?php foreach($linksid as $key=>$val){ ?>
        <li<?php if($key==0){ ?> class="active"<?php }?> data-target="#carousel" data-slide-to="<?php echo $key; ?>"></li>
          <?php }?>

      </ol>
      <div class="carousel-inner" role="listbox">
          <?php $linksid = getlinksdata(72) ?>
          <?php foreach($linksid as $key=>$val){ ?>
        <div <?php if($key==0){ ?> class="item active" <?php }else{ ?>class="item"{/else}<?php }?> id="carousel<?php echo $key+1; ?>">
          <a href="<?php echo $val['sen_links6']; ?>"><img src="<?php echo $val['sen_links5']; ?>" alt="..."></a>
        </div>
          <?php }?>

      </div>
    </div>
  </div>
  <!--香草农业养生-->
  <div class="banner2">
    <div class="container">
      <ul class="row">
        <li class="col-sm-6 col-xs-12">
          <div class="b2-tv">
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_video=$T_db->table("onepagesys")->order("")->where("onepagesys1=73")->field("*")->limit("1")->page("")->selectlist();
					
	 				$video_page=$T_db->htmlpageshow;
					$video_sql=$T_db->sql;
	 					if($l_video==null){
 							$l_video=array();
 							echo "暂无数据!";
 						}
 						$video_count=count($l_video);
	 					foreach($l_video as $video_key=>$video){
	 		?>
            <video width="100%" height="100%" controls="controls" autoplay="autoplay">
            <source src="<?php echo $video['onepagesys4']; ?>"/>
            您的浏览器不支持video标签！
          </video>
              <?php }?>
          </div>
        </li>
        <li class="col-sm-6 col-xs-12">
          <ul class="b2-text">
            <li><img class="img-responsive" src="<?php echo TPLPATH; ?>images/index/b2-text.png" alt=""></li>
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_company=$T_db->table("onepagesys")->order("")->where("onepagesys1=79")->field("*")->limit("1")->page("")->selectlist();
					
	 				$company_page=$T_db->htmlpageshow;
					$company_sql=$T_db->sql;
	 					if($l_company==null){
 							$l_company=array();
 							echo "暂无数据!";
 						}
 						$company_count=count($l_company);
	 					foreach($l_company as $company_key=>$company){
	 		?>
            <li>
              <p><?php echo $company['onepagesys5']; ?><a href="<?php echo $company['onepagesys2']; ?>">更多&gt;&gt;</a></p>
            </li>
              <?php }?>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  <!--产品分类-->
  <div class="product">
    <div class="container">
      <ul class="row">
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=34")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
        <li class="col-md-3 col-sm-6 col-xs-12">
          <a href="<?php echo $fist['sen_product7']; ?>">
              <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
              <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
          </a>
        </li>
        <li class="col-md-3 col-sm-6 col-xs-12">
          <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
        </li>
          <?php }?>
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=33")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <a href="<?php echo $fist['sen_product7']; ?>">
                  <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
                  <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
              </a>
          </li>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
          </li>
          <?php }?>
      </ul>
      <ul class="row">
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=32")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <a href="<?php echo $fist['sen_product7']; ?>">
                  <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
                  <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
              </a>
          </li>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
          </li>
          <?php }?>
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=31")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <a href="<?php echo $fist['sen_product7']; ?>">
                  <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
                  <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
              </a>
          </li>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
          </li>
          <?php }?>
      </ul>
      <ul class="row">
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=30")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <a href="<?php echo $fist['sen_product7']; ?>">
                  <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
                  <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
              </a>
          </li>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
          </li>
          <?php }?>
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=29")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <a href="<?php echo $fist['sen_product7']; ?>">
                  <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" alt="">
                  <div class="pModel"><?php echo $fist['sen_product5']; ?></div>
              </a>
          </li>
          <li class="col-md-3 col-sm-6 col-xs-12">
              <img class="img-responsive" src="<?php echo $fist['sen_product8']; ?>" alt="">
          </li>
          <?php }?>
      </ul>
    </div>
  </div>
  <!--原山商城-->
  <div class="mall">
    <div class="container">
      <div class="index-theme">
        <div class="themetext">原山商城</div>
      </div>
    </div>
  </div>
  <!--原山香草主题-->
  <div class="vanilla">
    <div class="container">
      <div class="v-bigbox">
        <div class="v-smallbox">
          <ul class="row">
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=35")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
            <li class="col-sm-4 col-xs-12"><a href="<?php echo $fist['sen_product7']; ?>">
              <div class="v-wrap2box">
                <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" style="width:100%;">
                <div class="v-wrap2">
                  <h1><?php echo $fist['sen_product5']; ?></h1>
                </div>
              </div>
            </a> </li>
              <?php }?>
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=36")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
              <li class="col-sm-4 col-xs-12"><a href="<?php echo $fist['sen_product7']; ?>">
                  <div class="v-wrap2box">
                      <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" style="width:100%;">
                      <div class="v-wrap2">
                          <h1><?php echo $fist['sen_product5']; ?></h1>
                      </div>
                  </div>
              </a> </li>
              <?php }?>
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_fist=$T_db->table("sen_product")->order("")->where("sen_product0=37")->field("*")->limit("1")->page("")->selectlist();
					
	 				$fist_page=$T_db->htmlpageshow;
					$fist_sql=$T_db->sql;
	 					if($l_fist==null){
 							$l_fist=array();
 							echo "暂无数据!";
 						}
 						$fist_count=count($l_fist);
	 					foreach($l_fist as $fist_key=>$fist){
	 		?>
              <li class="col-sm-4 col-xs-12"><a href="<?php echo $fist['sen_product7']; ?>">
                  <div class="v-wrap2box">
                      <img class="img-responsive" src="<?php echo $fist['sen_product6']; ?>" style="width:100%;">
                      <div class="v-wrap2">
                          <h1><?php echo $fist['sen_product5']; ?></h1>
                      </div>
                  </div>
              </a> </li>
              <?php }?>
          </ul>
        </div>
        <div class="v-themehead">
          <span class="v-ltbtn"><a type="button"></a></span>
          <div class="v-theme">
            <span class="show">原山香草主题</span>
            <span class="hidden">原山香草主题</span>
          </div>
          <span class="v-lgbtn"><a type="button"></a></span>
        </div>
        <div class="v-themepro">
          <ul class="row show">
              <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_product=$T_db->table("sen_product")->order("sen_product0 desc")->where("sen_product1=76")->field("*")->limit("4")->page("")->selectlist();
					
	 				$product_page=$T_db->htmlpageshow;
					$product_sql=$T_db->sql;
	 					if($l_product==null){
 							$l_product=array();
 							echo "暂无数据!";
 						}
 						$product_count=count($l_product);
	 					foreach($l_product as $product_key=>$product){
	 		?>
          <li class="col-sm-3 col-xs-12"><a href="<?php echo $product['sen_product7']; ?>">
            <div class="v-wrap2box">
              <img class="img-responsive" src="<?php echo $product['sen_product6']; ?>" style="width:100%;">
              <div class="v-wrap">
                <h1><?php echo $product['sen_product5']; ?> <small class="pull-right">价格：<span><?php echo $product['sen_product4']; ?></span>元</small></h1>
              </div>
            </div>
          </a> </li>
              <?php }?>
      </ul>
        </div>
      </div>
    </div>
  </div>
  <!--新闻活动-->
  <div class="newactive">
    <div class="index-new">
      <div class="container">
        <div class="index-theme">
          <div class="themetext">新闻中心</div>
        </div>
      </div>
    </div>
    <div class="connew">
      <div class="container">
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_news=$T_db->table("sen_article")->order("sen_article4 desc")->where("sen_article1=81")->field("*")->limit("3")->page("")->selectlist();
					
	 				$news_page=$T_db->htmlpageshow;
					$news_sql=$T_db->sql;
	 					if($l_news==null){
 							$l_news=array();
 							echo "暂无数据!";
 						}
 						$news_count=count($l_news);
	 					foreach($l_news as $news_key=>$news){
	 		?>
          <div class="col-xs-12 col-sm-6 col-lg-4 comnews">
              <div class="connew-box">
                  <div class="new-head">
                      <div class="timebg">
                          <div class="day"><?php echo date('d',$news['sen_article4']) ?></div>
                          <div class="year"><?php echo date('Y-m',$news['sen_article4']) ?></div>
                      </div>
                      <h4><?php echo $news['sen_article6']; ?></h4>
                  </div>
                  <div class="img">
                      <img class="img-responsive" src="<?php echo $news['sen_article7']; ?>">
                  </div>
                  <div class="newtext"><span class="p_3"><?php echo $news['sen_article8']; ?></span><a href="<?php echo $news['sen_article2']; ?>">更多&gt;&gt;</a></div>
              </div>
          </div>
          <?php }?>

     </div>
    </div>
  </div>
  <!--footer-->
  <div class="footer">
    <div class="container text-center">
      <div class="rexian"><s>招商热线：<?php echo $SystemSettings['setsys5']; ?></s></div>
      <div style="font-size: 16px;margin:2% auto 1%;">地址：<?php echo $SystemSettings['setsys2']; ?>   咨询热线：<?php echo $SystemSettings['setsys4']; ?>    邮箱：<?php echo $SystemSettings['setsys8']; ?></div>
      <div class="erwei">
          <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_erweima=$T_db->table("sen_links")->order("")->where("sen_links1=77")->field("*")->limit("all")->page("")->selectlist();
					
	 				$erweima_page=$T_db->htmlpageshow;
					$erweima_sql=$T_db->sql;
	 					if($l_erweima==null){
 							$l_erweima=array();
 							echo "暂无数据!";
 						}
 						$erweima_count=count($l_erweima);
	 					foreach($l_erweima as $erweima_key=>$erweima){
	 		?>
        <img src="<?php echo $erweima['sen_links6']; ?>"/>
          <?php }?>
      </div>
    </div>
  </div>
  <div class="footer-text">
    <p>©2015 <?php echo $SystemSettings['setsys7']; ?>  <?php echo $SystemSettings['setsys10']; ?></p>
    <p>黔韵原山  地址：<?php echo $SystemSettings['setsys2']; ?></p>
  </div>
</body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<?php echo TPLPATH; ?>js/jquery-1.11.3.js"></script>
<script src="<?php echo TPLPATH; ?>js/myself.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?php echo TPLPATH; ?>js/bootstrap.min.js"></script>
<script>
  $(function(){
    /*轮播*/
    $('#carousel').carousel();
    /*新闻中心*/
    $(".newactivity").conNew();
    /*product遮罩层*/
    $('.product a').on("mouseleave",function(){
      $(this).find(".pModel").removeClass("fadeIn").addClass("fadeOut");
    });
    $(".product a").on("mouseenter",function(){
      $(this).find(".pModel").show().removeClass("fadeOut").addClass("animated fadeIn");
    });
  })
</script>
